package com.woniu.dao;


import com.woniuxy.commons.entity.*;

import java.util.List;

/**
 * @program: bzeducation
 * @author: Xingqilin
 * @create: 2020-07-16 14:49
 * @description:材料题库查询
 */

public interface MaterialQuestionDao {

    //    通过ID查找具体选择题
    List<SelectBank> findSelectById(Long materialId);

    //    通过ID查找具体填空
    List<VacancyBank> findVacancyById(Long materialId);

    //    通过ID查找具体判断
    List<JudgeBank> findJudgeById(Long materialId);

    int insertMaterialQuestion(MaterialQuestion materialQuestion);

    int updateMaterialQuestion(MaterialQuestion materialQuestion);

    int deleteMaterialQuestion(long materialId);
}
